import request from '@/utils/request'
import { CHECC_API_CMS } from '@/constants/proxy'

/*
 * 机构管理模块
 */
const getUserList = (params) => {
  return request.post(CHECC_API_CMS + '/user/getList', params)
}
const saveUser = (params) => {
  return request.post(CHECC_API_CMS + '/user', params)
}
const updataUser = (params) => {
  return request.put(CHECC_API_CMS + '/user', params)
}
const delUser = (params) => {
  return request.delete(CHECC_API_CMS + `/user/${params}`)
}


export { getUserList, saveUser, updataUser, delUser }
